<html xmlns:th="http://www.thymeleaf.org">
<div  th:fragment="dispatch_list">
    <!-- 分发列表 -->
    <blockquote class="layui-elem-quote news_search">
        <div class="layui-inline">
           <p>消息分发列表</p>
        </div>
    </blockquote>
    <div class="layui-form">
        <table id="dispatch" class="layui-hide layui-table" lay-filter="dispatchlist"></table>

        <script type="text/html" id="toolDispatchDemo">
            <div class="layui-btn-container">
                <div class="layui-btn-group">
                    <a class="layui-btn"
                       data-type="add_dispatch" lay-event="add_dispatch">添加对应端口消息分发</a>
                </div>
            </div>
        </script>
        <script type="text/html" id="bardispatchDemo">
            <a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="view"><i class="zkuasgm-icon">&#xe6af;</i>查看详情</a>
            {{# if(d.ISOPEN=='0'){ }}
            <a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="start"><i class="zkuasgm-icon">&#xe6af;</i>启用</a>
            {{# } }}
            {{# if(d.ISOPEN=='1'){ }}
            <a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="cancel"><i class="zkuasgm-icon">&#xe6af;</i>禁用</a>
            {{# } }}
        </script>
    </div>

</div>
